import {
	request
} from '@/utils/request.js';

// 获取设备列表(管理员)
export function getAdminStoreDeviceList(data) {
	return request({
		url: '/sw/system/rentBox/admin/listbysite',
		method: 'get',
		data
	})
}

// 获取设备列表(巡检员)
export function getStoreDeviceList(data) {
	return request({
		url: '/sw/system/rentBox/inspector/listbysite',
		method: 'get',
		data
	})
}

// 解绑设备
export function unbindDevice(data) {
	return request({
		url: '/sw/system/rentBox/unbind',
		method: 'post',
		data
	})
}